package com.shoe.service;


import com.shoe.pojo.ShoeCollectShow;
import com.shoe.vo.ResponseResult;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface ShoeCollectService {

    List<ShoeCollectShow> selectAll();
    int deleteById(Long collectId);
    ResponseResult selectAll(int currPage, int pageSize);
    ResponseResult selectByUserId(Long userId, int currPage, int pageSize);
    int addCollect(long userId,long CollectId);
    int deleteCollect(long userId,long CollectId);

    int selectId(Long userId , long goodId);

}
